from django.shortcuts import get_object_or_404, render_to_response
from django.http import HttpResponseRedirect, Http404, HttpResponse, HttpResponseNotFound
from django.template import RequestContext

from django.contrib.auth.models import User

from bundles.models import Bundle

def bundle(request, user_id):
  profile = get_object_or_404(User, id=user_id).profile
  return render_to_response('profile.html', {'profile': profile,}, context_instance=RequestContext(request))
